package org.jix.gbook.gateway.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import org.jix.framework.common.exception.BaseExceptionInterface;

/**
 * @author stark
 * @date 2025/5/30 20:01
 * @description
 **/

@Getter
@AllArgsConstructor
public enum ResponseCodeEnum implements BaseExceptionInterface {

    // ----------- 通用异常状态码 -----------
    SYSTEM_ERROR("500", "请检查网络配置。。。"),
    UNAUTHORIZED("401", "权限不足"),


    // ----------- 业务异常状态码 -----------
    ;

    // 异常码
    private final String errorCode;
    // 错误信息
    private final String errorMessage;
}
